#include "MetaDirectory.h"

namespace Validator
{

using namespace std;

MetaDirectory::MetaDirectory(void)
{
	myAnyFlag = false;
}

MetaDirectory::MetaDirectory(std::string theName,std::vector<MetaFile> theFiles,std::vector<MetaDirectory> theDirectories,bool theAnyFlag)
{
	myName = theName;
	myFiles = theFiles;
	myDirectories = theDirectories;
	myAnyFlag = theAnyFlag;
}

MetaDirectory::~MetaDirectory(void)
{}

string MetaDirectory::GetName(void)
{
	return this->myName;
}

void MetaDirectory::Add(MetaFile aFile)
{
	this->myFiles.push_back(aFile);
}

void MetaDirectory::Add(MetaDirectory aDir)
{
	this->myDirectories.push_back(aDir);
}

vector<MetaDirectory> &MetaDirectory::GetDirectories(void)
{
	return this->myDirectories;
}

vector<MetaFile> MetaDirectory::GetFiles(void)
{
	return this->myFiles;
}


bool MetaDirectory::GetAnyFlag(void)
{
	return this->myAnyFlag;
}

}